package com.sky.config;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * @PROJECT_NAME:sky-take-out
 * @NAME: SkyAppliction
 * @AUTHOR:$$
 * @Date:2023-08-18
 * @DESCRIPTION:
 **/
@SpringBootApplication
@EnableTransactionManagement//开启注解方式的事务管理
@Slf4j
@EnableCaching
public class SkyAppliction {
    public static void main(String[] args) {
        SkyAppliction.run(SkyAppliction.class,
              args);
        log.info("server started");
    }
}
